import os
import sys

lines = open(sys.argv[1]).readlines()

fp = open(sys.argv[1] + "out",'w')

for s in lines:
    fp.write(s.replace(' ',''))

fp.close()